import request from '@/utils/request'

// 查询撕逼墙列表
export function listAnonymous_moment(query) {
  return request({
    url: '/ido/anonymous_moment/list',
    method: 'get',
    params: query
  })
}

// 查询撕逼墙详细
export function getAnonymous_moment(id) {
  return request({
    url: '/ido/anonymous_moment/' + id,
    method: 'get'
  })
}

// 新增撕逼墙
export function addAnonymous_moment(data) {
  return request({
    url: '/ido/anonymous_moment',
    method: 'post',
    data: data
  })
}

// 修改撕逼墙
export function updateAnonymous_moment(data) {
  return request({
    url: '/ido/anonymous_moment',
    method: 'put',
    data: data
  })
}

// 删除撕逼墙
export function delAnonymous_moment(id) {
  return request({
    url: '/ido/anonymous_moment/' + id,
    method: 'delete'
  })
}

// 导出撕逼墙
export function exportAnonymous_moment(query) {
  return request({
    url: '/ido/anonymous_moment/export',
    method: 'get',
    params: query
  })
}